package com.yhf.mapper;

import com.yhf.bean.LoginForm;
import com.yhf.bean.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {
    Teacher login(LoginForm loginForm);

    int updatePassword(Teacher teacher);

    List<Teacher> getTeacherList(Teacher teacher);

    int deleteTeacher(Integer[] ids);

    int updateTeacher(Teacher teacher);



    Teacher findByName(String name);

    int addTeacher(Teacher teacher);
}
